package com.nameli.SIM.bean.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author NAME-L
 * @Description 专业信息表
 * @className MajorInfo
 * @date 2021-10-31 17:36:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class MajorInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Integer majorId;

    /**
     * 专业id
     */
    private String majorNo;

    /**
     * 专业名称
     */
    private String majorName;

    /**
     * 专业主任
     */
    private Integer majorDirector;

    /**
     * 院系编号
     */
    private String facultyNo;

    /**
     * 目标状态
     */
    private Integer status = 1;//设置默认添加后的状态为1 - 正常

    /**
     * 审核更新状态
     */
    private Integer checkStatus = 2;//设置默认的添加后审核状态5 - 待审核;

    public MajorInfo() {
    }

    public MajorInfo(Integer majorId, String majorNo, String majorName, Integer majorDirector, String facultyNo, Integer status) {
        this.majorId = majorId;
        this.majorNo = majorNo;
        this.majorName = majorName;
        this.majorDirector = majorDirector;
        this.facultyNo = facultyNo;
        this.status = status;
    }
}
